﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrContactUs.ascx.cs"
    Inherits="Controls_ContactUs_ctrContactUs" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register src="ctrContactNavigation.ascx" tagname="ctrContactNavigation" tagprefix="uc2" %>
<div>
<uc2:ctrContactNavigation ID="ctrContactNavigation1" runat="server" /></div>
 
  <div style ="padding:10px 10px 50px 10px;border: 1px solid #E8E8E8; margin-top:15px;">
<div style ="font-size:15px"><uc1:Alert ID="Alert1" runat="server" /></div>
    <div style="padding: 5px 0px 10px 0px; text-transform:uppercase ">
        <h2> <asp:Label ID="lblContact" runat="server"></asp:Label></h2>
    </div>
        <p>
            <asp:Literal ID="ltrIntroduce" runat="server"></asp:Literal>
        </p>
        <br />
        <p>
            <asp:Label ID="lblInputRequire" runat="server"></asp:Label></p>
        <br />
        <div style="padding-bottom:10px">
            <asp:Label ID="lblFullName" runat="server" Width="150px"></asp:Label>
            <asp:TextBox ID="txtFullName" Width="300px" runat="server" MaxLength="200" ValidationGroup="cInput" CssClass="textbox"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>
        </div>
        <div style="padding-bottom:10px">
            <asp:Label ID="lblEmail" runat="server" Width="150px"></asp:Label>
            <asp:TextBox ID="txtEmail" ValidationGroup="cInput" Width="300px" runat="server" CssClass="textbox"
                MaxLength="200"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>
        </div>
        <div style="padding-bottom:10px">
            <asp:Label ID="lblTelephone" runat="server" Width="150px"></asp:Label>
            <asp:TextBox ID="txtTelephone" Width="300px" runat="server" MaxLength="200" CssClass="textbox"></asp:TextBox>
        </div>
        <div style="padding-bottom:10px">
            <asp:Label ID="lblCountry" runat="server" Width="150px"></asp:Label>
        <asp:DropDownList ID="ddlCountry" Width="141px" runat="server" Height="19px"></asp:DropDownList>
        </div>
        <div style="padding-bottom:10px">
            <asp:Label ID="lblNumberOfTraveller" runat="server" Width="150px"></asp:Label>
            <asp:TextBox ID="txtNumberOfTraveller" Width="50px" runat="server" MaxLength="200" CssClass="textbox"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblAdult" runat="server" Width="70px"></asp:Label>
            <asp:TextBox ID="txtAdult" Width="50px" runat="server" MaxLength="200" CssClass="textbox"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="lblChildren" runat="server" Width="70px"></asp:Label>
            <asp:TextBox ID="txtChildren" Width="50px" runat="server" MaxLength="200" CssClass="textbox"></asp:TextBox>
        </div>
        <div style="padding-bottom:10px">
        <asp:Label ID="lblTravelDate" runat="server" Width="150px"></asp:Label>
            <asp:DropDownList ID="ddlTravelMonth" Width="100px" runat="server">
                
            </asp:DropDownList>
                        
            <asp:DropDownList ID="ddlTravelDay" Width="40px" runat="server">
            </asp:DropDownList>
            <asp:DropDownList ID="ddlTravelYear" Width="60px" runat="server">
            </asp:DropDownList>
        </div>
        <div style="padding-bottom: 6px; vertical-align: text-top">
        <table>
            <tr>
                <td style ="vertical-align:top">   <asp:Label ID="lblMainContent" runat="server" Width="153px"></asp:Label></td>
                   <td> <asp:TextBox ID="txtMainContent" runat="server" MaxLength="2000" Width="470px" ValidationGroup="cInput" CssClass="textbox"
                TextMode="MultiLine" Height="100px" Font-Names="Arial" Font-Size="13px"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span></td>
            </tr>
        </table>
         
           
        </div>
        <div style="float: left; padding:10px 0px 10px 155px">
            <asp:ImageButton ImageUrl="~/Images/Layout/submitform-input-button-bg.png" 
                runat="server" ID="btnSend"  ValidationGroup="Input" onclick="btnSend_Click" />
        </div>
    </div>

<asp:RequiredFieldValidator ID="rfvFullName" runat="server" SetFocusOnError="true" ControlToValidate="txtFullName"
    Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvEmail" runat="server" SetFocusOnError="true" ControlToValidate="txtEmail"
    Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvMainContent" runat="server" SetFocusOnError="true"
    ControlToValidate="txtMainContent" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<!--Check email-->
<asp:RegularExpressionValidator ID="revEmail" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
    ControlToValidate="txtEmail" Display="None" ValidationGroup="Input" SetFocusOnError="True"
    Text="*">
</asp:RegularExpressionValidator>



 <asp:RegularExpressionValidator ID="revNumberOfTraveller" runat="server" ControlToValidate="txtNumberOfTraveller"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
     <asp:RegularExpressionValidator ID="revAdult" runat="server" ControlToValidate="txtAdult"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
     <asp:RegularExpressionValidator ID="revChildren" runat="server" ControlToValidate="txtChildren"
    Display="None" ValidationGroup="Input" Text="*" ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>

<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server"
    ValidationGroup="Input" ShowSummary="False" />
